home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / hack / 2_3 / nfs.fix < prev    next >
Encoding:
Text File  |  1993-06-20  |  859 b   |  20 lines

  1.  
  2.  
  3.  
  4. There is a bug in nethack 2.2 which shows up when the playground is
  5. on a networked filesystem visible to several machines. The symptom is
  6. a "Can't open alock. Perhaps someone removed it." error when attempting
  7. to save a game or go up a level. The problem lies in the veryold() routine
  8. in unix.c which looks to see if the process which created the lock file is
  9. still running, and if not removes it. Well, on a network the chances are
  10. that the process won't running on the current machine, but will be running
  11. on another. My solution was just to remove the check for the existing pid
  12. and replace it with a return 0. Perhaps better would be another #define
  13. for NETWORKED?
  14. --keenan ross        UUCP:     {bellcore,ima,ihnp4}!inmet!keenan
  15.  Intermetrics, Inc.    INTERNET: ima!inmet!keenan@CCA-UNIX.ARPA
  16.  733 Concord Ave.
  17.  Cambridge, MA  02138    PHONE:    (617) 661-1840
  18.  
  19.  
  20.